<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>欢迎登录</title>
    <link rel="stylesheet" href="css/login.css">
</head>
<body>
<div class="container">
    <div class="container-form container-signup">
        <form action="rootlogin" class="form" id="form1"method = "get">
            <h2 class="form-title">欢迎登录</h2>
            <input type="text" placeholder="工号" class="input" name="user_Id"/>
            <input type="password" placeholder="密码" class="input" name="password"/>

            <select id="role" class="input" name="role">
                <option value="教师">教师</option>
                <option value="管理员">管理员</option>
            </select><br>
            <button type="submit" class="btn">登录</button>
        </form>
    </div>
    <div class="container-form container-signin">
        <form action="/login" class="form" id="form2" method="get">
            <h2 class="form-title">欢迎登录</h2>
            <input type="text" placeholder="学号" class="input" name="user_Id"/>
            <input type="password" placeholder="密码" class="input" name="password"/>
            <a href="#" class="link">忘记密码?</a>
            <button type="submit" class="btn">登录</button>
        </form>
        </form>
    </div>

    <div class="container-overlay">
        <div class="overlay">
            <div class="overlay-panel overlay-left">
                <button class="btn" id="signIn">
                    学生登录
                </button>
            </div>
            <div class="overlay-panel overlay-right">
                <button class="btn" id="signUp">
                    管理员/老师登录
                </button>
            </div>
        </div>
    </div>
</div>

<script src="js/login.js"></script>

</body>

</html>